package business.other.punish.impl;

import business.other.punish.SecurityPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.SerializationUtils;
import other.domain.SecurityPunishInfo;
import other.domain.SecurityPunishInfoCriteria;
import other.mapper.SecurityPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "securityPunishService")
public class SecurityPunishInfoServiceImpl implements SecurityPunishInfoService{
    @Autowired
    SecurityPunishInfoMapper securityPunishInfoMapper;
    @Override
    public List<SecurityPunishInfo> getSecurityPunishInfo() {
        SecurityPunishInfoCriteria criteria = new SecurityPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return securityPunishInfoMapper.selectByExample(criteria);
    }
}
